﻿@model Topic
@{
    ViewData["Title"] = Model.Title;
    Layout = "_Layout_mobile";

}
<div class="row">
    <div class="col-md-12" style="margin-top:20px;">
        <div class="topic-detail panel panel-default">
            <div class="panel-heading media clearfix">
                <div class="media-body">
                    <h1 class="media-heading" style="text-align:center;">@(Model.Top == 1 ? "[置顶]" : "")@Model.Title</h1>
                    <div class="info" style="float:right;">
                        <a href="#">@Model.User.UserName</a>
                        ·
                        于 <abbr class="timeago">@Model.CreateTime.ToString("MM-dd HH:mm")</abbr>发布
                        ·
                        @Model.ViewCount 次阅读
                    </div>
                </div>
            </div>
            <div class="panel-body ">
                <p id="content">@Html.Raw(Model.Content)</p>
            </div>
        </div>

    </div>
</div>
@section scripts{
   

}